package com.tlgen.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: tlgen
 * @Discription: 学生注册信息实体类
 */
@Data
public class Registry implements Serializable {

    private Integer id;
    private String studentNo;
    private String studentName;
    private String password;
    private String major;

    private Integer instituteId;
    private Institute institute;

    private String className;
    private String grade;
    private String telephone;
    private String email;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createDate;

    private Integer fileId;
    private AvatarFile avatarFile;
}
